package cn.net.yugu.doraemon.netty.protocol.msg24;

import cn.net.yugu.doraemon.netty.protocol.MsgCode;
import io.netty.buffer.ByteBuf;

/**
 * 柜子心跳转发
 */
public class Msg241000001 extends Msg241 {
    public byte clientType;

    @Override
    public int getMsgCode() {
        return MsgCode.MSG_241000001.getCode();
    }

    @Override
    public void readData(ByteBuf buffer) {
        clientType = buffer.readByte();
    }

    @Override
    public void writeData(ByteBuf buffer) {
        buffer.writeByte(clientType);
    }
}
